package com.example.common.core.exception;


import com.example.common.core.enums.ResultCode;
import lombok.Getter;

//业务异常
@Getter
public class ServiceException extends RuntimeException{
    private ResultCode resultCode;
    public ServiceException(ResultCode resultCode){
        this.resultCode = resultCode;
    }
}
